/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nuboat.easyjsf.action;

import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;

/**
 *
 * @author nuboat
 */
@ApplicationScoped
@ManagedBean
public class ApplicationAction extends BaseAction {

    private Long count;

    public ApplicationAction() {
        count = new Long(0);
    }

    public Long getCount() {
        this.count = this.count.longValue() + 1;
        return this.count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

}